/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.ts.domain.resp;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Map;

/**
 *
 *
 * @author wcs
 * @date 2021-3-10
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class GetExaminationRecordResponse {

	/**
	 * 考试记录Id
	 */
	private Long examinationRecordId;
	/**
	 * 试卷Id
	 */
	private Long examinationPaperId;
	/**
	 * 培训Id
	 */
	private Long trainId;
	/**
	 * 培训分类
	 train_year-年度培训
	 train_common-普通培训
	 */
	private String trainClassify;
	/**
	 * 培训分类
	 train_year-年度培训
	 train_common-普通培训
	 */
	private String trainClassifyName;
	/**
	 * 试卷分类
	 */
	private String examinationPaperCategory;
	/**
	 * 试卷名称
	 */
	private String examinationPaperName;
	/**
	 * 考生用户分组Id
	 */
	private Long examineeUserGroupId;
	/**
	 * 考生用户分组名称
	 */
	private String examineeUserGroupName;
	/**
	 * 试卷名称
	 */
	private String name;
	/**
	 * 考生用户Id
	 */
	private Long examineeUserId;
	/**
	 * 考生名称
	 */
	private String examineeUserName;
	/**
	 * 考试开始时间
	 */
	private LocalDateTime examineeTime;
	/**
	 * 交卷时间
	 */
	private LocalDateTime handInTime;
	/**
	 * 总分
	 */
	private Integer totalScore;
	/**
	 * 通过分数
	 */
	private Integer passScore;
	/**
	 * 分数
	 */
	private Integer score;
	/**
	 * 是否合格：0-未评，1-合格，2-不合格
	 */
	private Integer passFlag;
	/**
	 * 评语
	 */
	private String comment;
	/**
	 * 评语人用户Id
	 */
	private Long commentUserId;
	/**
	 * 租户Id，0表示不指定
	 */
	private Long tenantId;
	/**
	 * 创建人Id
	 */
	private Long createUserId;
	/**
	 * 创建时间
	 */
	private LocalDateTime createTime;
	/**
	 * 更新时间
	 */
	private LocalDateTime updateTime;
	/**
	 * 删除标识：0-正常，1-删除
	 */
	private Boolean deleteFlag;
	/**
	 * 答题数据
	 */
	Map<Long, GetExaminationRecordQuestionResponse> GetExaminationRecordQuestionResponses;

	/**
	 * 题目数据
	 */
	private PreviewExaminationPaperResponse previewExaminationPaperResponse;

}
